package com.deng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @create 2020-11-20 11:39
 */
@Controller
public class HelloWorld {
    @RequestMapping("/h1")
    @ResponseBody
    String hello() {
        return "hello";
    }

}
